import request from '@/utils/request'
//网络请求
// 查询字典类型列表
export function selectFee(query) {
    return request({
    url:"/fee/list", 
    method:"get",
    params:query
    })
}
export function delFee(id) {
    return request({
      url:"/fee/" + id,
      method: "delete"
    })
  }
  export function addFee(data) {
    return request({
    url:"/fee/addFee", 
    method:"post",
    data:data
    })
}
export function upFee(data) {
    return request({
      url:"/fee/update",
      method:"post",
      data: data
    })
  }
  export function type(id) {
    return request({
      url:"/fee/query/"+id,
      method:'get'
    })
  }